package com.battery.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "角色类")
public class Sys_role {
    @ApiModelProperty(name = "role_id", value = "角色id",required = true,example = "123")
    private int role_id;
    @ApiModelProperty(name = "role_name", value = "角色名称", example = "")
    private String role_name;
    @ApiModelProperty(name = "remark", value = "备注", example = "")
    private String remark;
    @ApiModelProperty(name = "authority", value = "权限字符串", example = "")
    private String authority;

    public Sys_role(int role_id, String role_name, String remark, String authority) {
        this.role_id = role_id;
        this.role_name = role_name;
        this.remark = remark;
        this.authority = authority;
    }
    public int getRole_id() {
        return role_id;
    }

    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }
}
